3.38 \(\int \frac {x}{\log ^3(c x)} \, dx\)

Optimal. Leaf size=37 \[ \frac {2 \text {Ei}(2 \log (c x))}{c^2}-\frac {x^2}{2 \log ^2(c x)}-\frac {x^2}{\log (c x)} \]

[Out]

2*Ei(2*ln(c*x))/c^2-1/2*x^2/ln(c*x)^2-x^2/ln(c*x)

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {2306, 2309, 2178} \[ \frac {2 \text {Ei}(2 \log (c x))}{c^2}-\frac {x^2}{2 \log ^2(c x)}-\frac {x^2}{\log (c x)} \]

Antiderivative was successfully verified.

[In]

Int[x/Log[c*x]^3,x]

[Out]

(2*ExpIntegralEi[2*Log[c*x]])/c^2 - x^2/(2*Log[c*x]^2) - x^2/Log[c*x]

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 2306

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log
[c*x^n])^(p + 1))/(b*d*n*(p + 1)), x] - Dist[(m + 1)/(b*n*(p + 1)), Int[(d*x)^m*(a + b*Log[c*x^n])^(p + 1), x]
, x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1] && LtQ[p, -1]

Rule 2309

Int[((a_.) + Log[(c_.)*(x_)]*(b_.))^(p_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[E^((m + 1)*x)*(a
 + b*x)^p, x], x, Log[c*x]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {x}{\log ^3(c x)} \, dx &=-\frac {x^2}{2 \log ^2(c x)}+\int \frac {x}{\log ^2(c x)} \, dx\\ &=-\frac {x^2}{2 \log ^2(c x)}-\frac {x^2}{\log (c x)}+2 \int \frac {x}{\log (c x)} \, dx\\ &=-\frac {x^2}{2 \log ^2(c x)}-\frac {x^2}{\log (c x)}+\frac {2 \operatorname {Subst}\left (\int \frac {e^{2 x}}{x} \, dx,x,\log (c x)\right )}{c^2}\\ &=\frac {2 \text {Ei}(2 \log (c x))}{c^2}-\frac {x^2}{2 \log ^2(c x)}-\frac {x^2}{\log (c x)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 37, normalized size = 1.00 \[ \frac {2 \text {Ei}(2 \log (c x))}{c^2}-\frac {x^2}{2 \log ^2(c x)}-\frac {x^2}{\log (c x)} \]

Antiderivative was successfully verified.

[In]

Integrate[x/Log[c*x]^3,x]

[Out]

(2*ExpIntegralEi[2*Log[c*x]])/c^2 - x^2/(2*Log[c*x]^2) - x^2/Log[c*x]

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 47, normalized size = 1.27 \[ -\frac {2 \, c^{2} x^{2} \log \left (c x\right ) + c^{2} x^{2} - 4 \, \log \left (c x\right )^{2} \operatorname {log\_integral}\left (c^{2} x^{2}\right )}{2 \, c^{2} \log \left (c x\right )^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/log(c*x)^3,x, algorithm="fricas")

[Out]

-1/2*(2*c^2*x^2*log(c*x) + c^2*x^2 - 4*log(c*x)^2*log_integral(c^2*x^2))/(c^2*log(c*x)^2)

________________________________________________________________________________________

giac [A]  time = 0.22, size = 35, normalized size = 0.95 \[ -\frac {x^{2}}{\log \left (c x\right )} - \frac {x^{2}}{2 \, \log \left (c x\right )^{2}} + \frac {2 \, {\rm Ei}\left (2 \, \log \left (c x\right )\right )}{c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/log(c*x)^3,x, algorithm="giac")

[Out]

-x^2/log(c*x) - 1/2*x^2/log(c*x)^2 + 2*Ei(2*log(c*x))/c^2

________________________________________________________________________________________

maple [A]  time = 0.03, size = 37, normalized size = 1.00 \[ -\frac {x^{2}}{\ln \left (c x \right )}-\frac {x^{2}}{2 \ln \left (c x \right )^{2}}-\frac {2 \Ei \left (1, -2 \ln \left (c x \right )\right )}{c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/ln(c*x)^3,x)

[Out]

-1/2*x^2/ln(c*x)^2-x^2/ln(c*x)-2/c^2*Ei(1,-2*ln(c*x))

________________________________________________________________________________________

maxima [A]  time = 0.85, size = 13, normalized size = 0.35 \[ -\frac {4 \, \Gamma \left (-2, -2 \, \log \left (c x\right )\right )}{c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/log(c*x)^3,x, algorithm="maxima")

[Out]

-4*gamma(-2, -2*log(c*x))/c^2

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {x}{{\ln \left (c\,x\right )}^3} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/log(c*x)^3,x)

[Out]

int(x/log(c*x)^3, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \frac {- 2 x^{2} \log {\left (c x \right )} - x^{2}}{2 \log {\left (c x \right )}^{2}} + 2 \int \frac {x}{\log {\left (c x \right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/ln(c*x)**3,x)

[Out]

(-2*x**2*log(c*x) - x**2)/(2*log(c*x)**2) + 2*Integral(x/log(c*x), x)

________________________________________________________________________________________